﻿<UserControl x:Class="VrPlayer.Projections.FullDome.FullDomePanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <StackPanel Orientation="Vertical" Margin="16">
        <TextBlock Text="Geometry" FontWeight="Bold" Margin="0,0,0,8"></TextBlock>
        <Grid Margin="0,0,0,16">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" MinWidth="200" />
                <ColumnDefinition Width="50" />
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Grid.Row="0" Content="Coverage:"></Label>
            <Slider Grid.Column="1" Grid.Row="0" Value="{Binding Path=Coverage}" Minimum="0" Maximum="360" SmallChange="1" LargeChange="30"></Slider>
            <TextBox Grid.Column="2" Grid.Row="0" Text="{Binding Path=Coverage}"></TextBox>
            <Label Grid.Column="0" Grid.Row="1" Content="Tilt:"></Label>
            <Slider Grid.Column="1" Grid.Row="1" Value="{Binding Path=Tilt}" Minimum="0" Maximum="360" LargeChange="30" SmallChange="1"></Slider>
            <TextBox Grid.Column="2" Grid.Row="1" Text="{Binding Path=Tilt}"></TextBox>
            <Label Grid.Column="0" Grid.Row="2" Content="Heading:"></Label>
            <Slider Grid.Column="1" Grid.Row="2" Value="{Binding Path=Heading}" Minimum="0" Maximum="360" TickFrequency="90" TickPlacement="BottomRight" SmallChange="1" LargeChange="30"></Slider>
            <TextBox Grid.Column="2" Grid.Row="2" Text="{Binding Path=Heading}"></TextBox>
        </Grid>
        <TextBlock Text="Resolution" FontWeight="Bold" Margin="0,0,0,8"></TextBlock>
        <Grid Margin="0,0,0,16">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" MinWidth="200" />
                <ColumnDefinition Width="50" />
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Grid.Row="0" Content="Slices:"></Label>
            <Slider Grid.Column="1" Grid.Row="0" Value="{Binding Path=Slices}" Minimum="8" Maximum="256"></Slider>
            <TextBox Grid.Column="2" Grid.Row="0" Text="{Binding Path=Slices}" ></TextBox>
            <Label Grid.Column="0" Grid.Row="1" Content="Stacks:"></Label>
            <Slider Grid.Column="1" Grid.Row="1" Value="{Binding Path=Stacks}" Minimum="8" Maximum="256"></Slider>
            <TextBox Grid.Column="2" Grid.Row="1" Text="{Binding Path=Stacks}"></TextBox>
        </Grid>
    </StackPanel>
</UserControl>